package org.mlz.game.model

import org.itheima.kotlin.game.core.Painter
import org.mlz.game.Config
import org.mlz.game.business.Blockable

/**
 *<p>
 *
 *</p>
 * CreateBy  Malingzhao
 * @date  2020/9/18
 */
class Water(override val x: Int, override val y: Int) :Blockable {
    override val width: Int = Config.block

    override val height: Int = Config.block


    override fun draw() {
        Painter.drawImage("img/water.gif", x, y);
    }
}
